home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 3 / MacMania 3.toast / Demo's / KarmaMacDemo / GAME_G1.DXR / 00237.ls < prev    next >
Encoding:
Text File  |  1995-10-24  |  1.8 KB  |  56 lines

  1. on moveRightDead1
  2.   global SpinCount
  3.   if SpinCount < 9 then
  4.     set the locV of sprite 28 to the locV of sprite 28 + 3
  5.   else
  6.     if SpinCount < 11 then
  7.       set the locV of sprite 28 to the locV of sprite 28 + 2
  8.       set the locH of sprite 28 to the locH of sprite 28 + 1
  9.     else
  10.       if SpinCount < 13 then
  11.         set the locV of sprite 28 to the locV of sprite 28 + 1
  12.         set the locH of sprite 28 to the locH of sprite 28 + 1
  13.       else
  14.         if SpinCount < 15 then
  15.           set the locV of sprite 28 to the locV of sprite 28 + 1
  16.           set the locH of sprite 28 to the locH of sprite 28 + 2
  17.         else
  18.           if SpinCount < 21 then
  19.             set the locH of sprite 28 to the locH of sprite 28 + 3
  20.           else
  21.             if SpinCount < 26 then
  22.               set the locH of sprite 28 to the locH of sprite 28 + 2
  23.             else
  24.               if SpinCount < 31 then
  25.                 set the locV of sprite 28 to the locV of sprite 28 + 1
  26.                 set the locH of sprite 28 to the locH of sprite 28 + 2
  27.               else
  28.                 if SpinCount < 36 then
  29.                   set the locV of sprite 28 to the locV of sprite 28 + 2
  30.                   set the locH of sprite 28 to the locH of sprite 28 + 2
  31.                 else
  32.                   if SpinCount < 41 then
  33.                     set the locV of sprite 28 to the locV of sprite 28 + 2
  34.                     set the locH of sprite 28 to the locH of sprite 28 + 1
  35.                   else
  36.                     nothing()
  37.                   end if
  38.                 end if
  39.               end if
  40.             end if
  41.           end if
  42.         end if
  43.       end if
  44.     end if
  45.   end if
  46.   if SpinCount = 41 then
  47.     repeat with z = 3 to 28
  48.       puppetSprite(z, 0)
  49.     end repeat
  50.     go("startMovie")
  51.   else
  52.     set SpinCount to SpinCount + 1
  53.   end if
  54.   updateStage()
  55. end
  56.